﻿
using BCCommon;
using BCCommon.Enums;
using BCData.Common.Cooperation.WebsiteCooperationFollowUp;
using BCDto.Common.Cooperation.WebsiteCooperationFollowUp;
using BCDto.Sim.Admin.Admin;
using BCEntity.Common.Cooperation.WebsiteCooperationFollowUp;
using BCService.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BCService.Common.Cooperation.WebsiteCooperationFollowUp
{
    /// <summary>
    /// 官网合作留言跟进记录
    /// </summary>
    public interface IWebsiteCooperationFollowUpService
    {
        #region  成员方法
        /// <summary>
        /// 是否存在此记录
        /// </summary>
        /// <param name="websiteCooperationFollowUpId">官网合作留言跟进记录Id</param>
        bool Exists(int websiteCooperationFollowUpId);
        /// <summary>
        /// 添加官网合作留言跟进记录
        /// </summary>
        /// <param name="requestDto">官网合作留言跟进记录信息</param>
        /// <param name="adminDto"></param>
        WebsiteCooperationFollowUpDto Add(WebsiteCooperationFollowUpRequestDto requestDto, AdminDto adminDto);
        /// <summary>
        /// 删除官网合作留言跟进记录
        /// </summary>
        /// <param name="websiteCooperationFollowUpId">官网合作留言跟进记录Id</param>
        bool Delete(int websiteCooperationFollowUpId);
        /// <summary>
        /// 获取官网合作留言跟进记录
        /// </summary>
        /// <param name="websiteCooperationFollowUpId">官网合作留言跟进记录Id</param>
        WebsiteCooperationFollowUpDto Get(int websiteCooperationFollowUpId);
        /// <summary>
        /// 获取官网合作留言跟进记录分页列表
        /// </summary>
        /// <param name="websiteCooperationId">合作留言Id</param>
        /// <param name="start">开始时间</param>
        /// <param name="end">结束时间</param>
        /// <param name="sortName">排序字段</param>
        /// <param name="ascending">升序</param>
        /// <param name="pageIndex">当前页码</param>
        /// <param name="pageSize">官网合作留言跟进记录每页数据条数</param>
        PageableList<WebsiteCooperationFollowUpDto> Query(int? websiteCooperationId, DateTime? start, DateTime? end, string sortName, bool? ascending, int pageIndex, int pageSize);
        #endregion  成员方法
    }
}